﻿/*.boxy-wrapper.fixed { position: fixed; }*/
/* Modal */

.boxy-modal-blackout {
    position: fixed;
    background-color: #BDDEFD;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    filter: alpha(opacity=30);
    border: 1px solid #000;
}

/*.loading {
    background: url(boxy/wait.gif) no-repeat scroll center center transparent;
    padding: 60px 80px;
}*/
/* Border */

.boxy-wrapper {
    position: fixed;
    border: 1px solid #803300;
    padding: 5px;
    /*background: #BDDEFD;*/
    background-image: -webkit-linear-gradient(top, #f3e3d9 0%, #803300 100%);
    background-image: -o-linear-gradient(top, #f3e3d9 0%, #803300 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f3e3d9), to(#803300));
    background-image: linear-gradient(to bottom, #f3e3d9 0%, #803300 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3e3d9', endColorstr='#803300', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border-radius: 10px;
    box-shadow: 0 0 18px -4px black;
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135, Color='#cccccc')";*/
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#cccccc');
}

    .boxy-wrapper:after {
        content: " ";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 7px;
        background-image: radial-gradient(rgba(255,255,255,0.85), rgba(243,227,217,0.5), rgba(255, 255, 255, 0),rgba(255, 255, 255, 0));
    }

    .boxy-wrapper div.dragDiv {
        position: absolute;
        width: 20px;
        height: 20px;
        right: -6px;
        bottom: -6px;
        border-radius: 20px 0 0 0;
        background-color: transparent;
        cursor: se-resize;
    }

    .boxy-wrapper .title-bar {
        padding: 7px;
        position: relative;
        -webkit-user-select: none;
        -moz-user-select: -moz-none;
    }

        .boxy-wrapper .title-bar.dragging, .boxy-wrapper .title-bar.dragging .title {
            cursor: move;
        }

        .boxy-wrapper .title-bar .title {
            font-size: 14px;
            font-weight: bold;
            color: black;
            line-height: 1;
            margin: 0 0 5px 0;
            padding: 0;
            cursor: default;
            text-shadow: 0 0 8px #FFF;
        }


        .boxy-wrapper .title-bar .BoxyTool {
            text-align: right;
            padding: 2px 10px;
            font-size: 12px;
            position: absolute;
            top: 0px;
            right: 10px;
            line-height: 1;
        }

            .boxy-wrapper .title-bar .BoxyTool input, .boxy-wrapper .title-bar .BoxyTool button {
                padding: 2px 15px;
                background-color: transparent;
                border-color: #FAFAD2;
                border-width: 1px;
                color: white;
                margin-left: 8px;
                border-radius: 12px;
                text-shadow: 0 -1px 1px #000F4D;
                box-shadow: 0px 0px 5px rgb(255,255,255);
            }

        .boxy-wrapper .title-bar .boxy-close {
            min-width: 10px;
            padding: 0px;
            position: absolute;
            top: -6px;
            right: 0;
            width: 61px;
            height: 25px;
            cursor: default;
            background: url(boxy/close.png) no-repeat scroll 0 0 transparent;
            font-weight: bold;
            font-size: 16px;
            border-radius: 0 0 6px 6px;
        }

            .boxy-wrapper .title-bar .boxy-close:hover,
            .boxy-wrapper .title-bar .boxy-close:focus {
                background-position-y: -26px;
                box-shadow: 0 0 10px #fff;
            }



        .boxy-wrapper .title-bar .tool {
            background-image: none;
            border-width: 0;
            margin-left: -7px;
            margin-right: -7px;
            margin-bottom: -7px;
        }

    /* 
Content Region */

    .boxy-wrapper .boxy-content {
        display: block;
        overflow: auto;
        min-height: 100px;
        min-width: 200px;
        background: #F6F6F6;
        border: gray solid 1px;
        position: relative;
        padding-bottom: 8px;
        /*padding: 6px;*/
        /*background:#ffffff url(boxy/con-bk.gif) repeat scroll 0 0 ;*/
    }

    .boxy-wrapper .boxy-bottom {
        border-radius: 0 0 5px 5px;
    }

    .boxy-wrapper .boxy-content .htmlPad {
        margin: 30px 20px 10px;
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: left center;
    }


    /* Question Boxes */

    .boxy-wrapper .boxy-content .boxy-msg {
        padding: 0 0 0 72px;
        min-width: 240px;
        min-height: 60px;
        max-width: 600px;
        line-height: 24px;
        letter-spacing: 2px;
        display: block;
        color: black;
    }

        .boxy-wrapper .boxy-content .boxy-msg .key {
            display: block;
            text-align: left;
            margin: 10px auto;
            width: auto;
        }


        .boxy-wrapper .boxy-content .boxy-msg .kv {
            padding: 5px;
        }


    .boxy-wrapper .boxy-footer {
        text-align: right;
        border: solid 1px #6C92AD;
        border-top-width: 0;
        padding: 10px;
        background-color: #F6F9FC;
        border-radius: 0 0 5px 5px;
    }

        .boxy-wrapper .boxy-footer input,
        .boxy-wrapper .boxy-footer button {
            padding: 5px 20px;
            margin-left: 20px;
        }

        .boxy-wrapper .boxy-footer .btnOK {
            font-weight: bold;
        }

.err .boxy-content .icon {
    background-image: url(boxy/warn_1.png);
    /*background-size: contain;*/
}

.prompt .boxy-content .icon {
    background-image: url(boxy/edit.png);
}

.confirm .boxy-content .icon {
    background-image: url(boxy/help.png);
}

.alert .boxy-content .icon {
    background-image: url(boxy/info.png);
}

    .alert .boxy-content .icon:after {
        padding: 0;
        content: none;
    }
